package com.qf.common.job;

/**
 * @author zdl
 * @date 2025/3/12
 */
import com.qf.utils.SendMailUtil;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class SendVerificationCodeJob implements Job {



    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        String email = "2962777319@qq.com"; // 收件人邮箱
        SendMailUtil.sendVerificationCode(email);
    }
}
